package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.OrderBargainUserDao;
import com.bootdo.wx.domain.OrderBargainUserDO;
import com.bootdo.wx.service.OrderBargainUserService;



@Service
public class OrderBargainUserServiceImpl implements OrderBargainUserService {
	@Autowired
	private OrderBargainUserDao orderBargainUserDao;
	
	@Override
	public OrderBargainUserDO get(String id){
		return orderBargainUserDao.get(id);
	}
	
	@Override
	public List<OrderBargainUserDO> list(Map<String, Object> map){
		return orderBargainUserDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderBargainUserDao.count(map);
	}
	
	@Override
	public int save(OrderBargainUserDO orderBargainUser){
		return orderBargainUserDao.save(orderBargainUser);
	}
	
	@Override
	public int update(OrderBargainUserDO orderBargainUser){
		return orderBargainUserDao.update(orderBargainUser);
	}
	
	@Override
	public int remove(String id){
		return orderBargainUserDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return orderBargainUserDao.batchRemove(ids);
	}
	
}
